package com.witsight.hibernate.model;

import javax.persistence.Entity;
import javax.persistence.Transient;

/**   
 * 说明：[]
 * @Title: User.java 
 * @Package com.witsight.hibernate.model 
 * @See: []
 * Copyright: Copyright (c) 2017
 * Company:sany huax witsight team by product
 * @author: fuyp  
 * @date: 2017年9月14日 下午3:07:00 
 * @version: V1.0
 *
 */
@Entity
public class User extends BaseEntity {

	/** 
	 * 说明：[]
	 * @See: serialVersionUID[]
	 * @Fields serialVersionUID : 
	 */ 
	
	private static final long serialVersionUID = 9133286101906852181L;
	private String username;
	
	private Integer age;
	
	
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}
	@Transient
	@Override
	public boolean isNew() {
		// TODO Auto-generated method stub
		return false;
	}
	
	@Override
	public boolean equals(Object o) {
		// TODO Auto-generated method stub
		return false;
	}

}
